function ChildCount({ count, dispatch }) {
  return (
    <div className="Child-container">
      <div>count is: {count}</div>
      <button onClick={() => dispatch({ type: "addCount" })}>AddCount</button>
    </div>
  );
}

export default ChildCount;
